<?php
namespace Api\Controller;
use Think\Controller;
class CommentsController extends Controller {
    public function getComments(){

        // $m_id = $_GET['m_id'];

        $comments = M('comments');
        $data = $comments -> order("c_id")->select();

        echo json_encode($data);
         echo "<br>";

    }


}
?>